{"version":3,"file":"script.map.js","names":["this","BX","Landing","exports","main_core","_classPrivateMethodInitSpec","obj","privateSet","_checkPrivateRedeclaration","add","_classPrivateFieldInitSpec","privateMap","value","set","privateCollection","has","TypeError","_classPrivateMethodGet","receiver","fn","_siteId","WeakMap","_siteType","_folderId","_selectorCreateIndex","_selectorIndexMetaBlock","_selectorSelect","_selectorPageLink","_selectorFieldId","_selectorPreviewBlock","_selectorPreviewTitle","_selectorPreviewDescription","_selectorPreviewPicture","_selectorPreviewSrcPicture","_selectorPreviewPictureWrapper","_pathToLandingEdit","_pathToLandingCreate","_isUseNewMarket","_linkUrlSelector","_linkPictureSelector","_ajaxPathLoadPreview","_initSelector","WeakSet","_initPicture","_onSelect","_onClickSelect","_onClickIndexCreate","_loadPreview","FolderEdit","_options","babelHelpers","classCallCheck","writable","classPrivateFieldSet","siteId","siteType","folderId","selectorCreateIndex","selectorIndexMetaBlock","selectorSelect","selectorPageLink","selectorFieldId","selectorPreviewBlock","selectorPreviewTitle","selectorPreviewDescription","selectorPreviewPicture","selectorPreviewSrcPicture","selectorPreviewPictureWrapper","pathToLandingEdit","pathToLandingCreate","isUseNewMarket","_initSelector2","call","_initPicture2","Event","bind","classPrivateFieldGet","_onClickSelect2","_onClickIndexCreate2","UI","Field","LinkUrl","title","content","allowedTypes","TYPE_PAGE","options","currentSiteOnly","disableAddPage","landingId","filter","ID","filterLanding","FOLDER_ID","onInput","_onSelect2","_this","Image","id","disableLink","disableAltField","allowClear","src","getAttribute","uploadParams","action","dimensions","width","height","Dom","clean","append","addEventListener","file","getValue","setAttribute","linkUrlSelectorValue","startsWith","substr","path","replace","innerHTML","concat","_loadPreview2","onSelectButtonClick","e","allowChangeHistory","events","onClose","window","location","reload","cacheable","customLeftBoundary","SidePanel","Instance","open","PreventDefault","_this2","style","display","ajax","url","method","dataType","onsuccess","result","data","description","setValue","Component"],"sources":["script.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,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